package com.yhy.wxzn.wcs.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yhy.wxzn.wcs.entity.WcsInboundDetail;
import com.yhy.wxzn.wcs.mapper.WcsInboundDetailMapper;
import com.yhy.wxzn.wcs.service.IWcsInboundDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 入库配置详情
 * @Author: jeecg-boot
 * @Date:   2023-11-03
 * @Version: V1.0
 */
@Service("WcsInboundDetailServiceImpl")
public class WcsInboundDetailServiceImpl extends ServiceImpl<WcsInboundDetailMapper, WcsInboundDetail> implements IWcsInboundDetailService {

    @Override
    public List<WcsInboundDetail> findWmsInboundDetailByConfigId(String id) {
        LambdaQueryWrapper<WcsInboundDetail> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(WcsInboundDetail::getInboundId,id);
        return list(wrapper);
    }
}
